package top.natsu.reminder.monitor;

import top.natsu.reminder.handler.TimeRecord;
import top.natsu.reminder.hook.KeyboardHook;
import top.natsu.reminder.hook.MouseHook;

public class Monitor {




    public Monitor(TimeRecord timeRecord)  {

        boolean allStatus = true;
        //进程获取
      //  new Thread(new ProcessInfo(allStatus)).start();

        //键盘监听
        new Thread(new KeyboardHook(allStatus,timeRecord)).start();

        //鼠标监听
        new Thread(new MouseHook(allStatus,timeRecord)).start();

        //windows 托盘设置
//        TrayHandler.getInstance().listen();


    }






}